/*
 * @Descripttion: 
 * @Author: zhanyi
 * @Date: 2021-10-26 21:00:27
 * @FilePath: \wczd-mobile\src\store\modules\danger.js
 */

const task = {
  state: {
    nowTaskType: { name: '全部', value: '' },
  },

  mutations: {
    SET_NOW_TASK_TYPE: (state, data) => {
      state.nowTaskType = data
    },
  },

  actions: {
    changeNowTaskType ({ commit }, data) {
      commit('SET_NOW_TASK_TYPE', data)
    }
  }
}

export default task
